<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%--
The taglib directive below imports the JSTL library. If you uncomment it,
you must also add the JSTL library to the project. The Add Library... action
on Libraries node in Projects view can be used to add the JSTL 1.1 library.
--%>

<%@ page import="java.util.Date" %>

<% Date d_start = new Date(); %>

<jsp:include page="init.jsp" />

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%
String query = request.getParameter("q");

if(query == null || query.equals("")) {
    query = "";
}
%>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Zephyr</title>
        
        <jsp:include page="WEB-INF\jspf\javascriptIncludes.jspf" />
        
    </head>
    <body bgcolor="">
        
        <table border="0" width="100%">
            <thead>
                <tr>
                    <th></th>
                    <th></th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td>&nbsp;</td>
                    <td align="center">
                        <img src="image\lifelogger.png">
                    </td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td width="30%">&nbsp;</td>
                    <td align="center">
                        <jsp:include page="search/searchbar.jsp" />
                    </td>
                    <td width="30%">&nbsp;</td>
                </tr>
                <tr>
                    <td width="30%">&nbsp;</td>
                    <td align="right">
                        <a href="browse?q=null&o=desc&fdate=&tdate="><font size="2"><b>Browse >></b></font></a>
                    </td>
                    <td width="30%">&nbsp;</td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td align="center">
                        <jsp:include page="plot/SystemSnapshotPlot.jsp" />
                    </td>
                    <td>&nbsp;</td>
                </tr>
            </tbody>
        </table>
        
    </body>
</html>


<%
    Date d_end = new Date(); 
    double d_diff_secs = (double)(d_end.getTime() - d_start.getTime()) / (double)1000;
%>

<div align="center">
    <br>
    <font size="2"> This page was generated in <%= d_diff_secs %> seconds</font>
</div>
